package initialize

import (
	"encoding/json"
	"fmt"
	"server/internal/model"
	"server/pkg/app"
)

func InitMeauList() {
	meau_list := model.GetAllCaseMeau()
	meau_list_str, err := json.Marshal(meau_list)
	if err != nil {
		fmt.Println(err.Error())
	}
	app.SetCache("meau_list", meau_list_str)
}
